package xipujewel.xipujewel.pojo.authority;
/**
 * @Title: Views.java
 * @Package xipujewel.xipujewel.pojo.authority
 * @Description:资源
 * @Date 2013-9-22-上午11:34:31
 * @Author: qizai
 * @Version: V1.0.0
 */
public class WebViews {

	// Model
	public static final String PAGE_LIST = "";
	public static final String PAGE_INPUT = "input/{id}";
	public static final String PAGE_DELETE = "delete/{id}";
	public static final String PAGE_DELETES = "deletes";
	public static final String PAGE_SAVE = "save";
	public static final String PATH_ID = "id";
	// 资源
	public static final String MODEL_ROLE = "role";
	public static final String MODEL_USER = "user";
	public static final String MODEL_DEPARTMENT = "department";
	public static final String MODEL_OFFICE = "office";
	public static final String MODEL_JOBPOSITION = "jobPosition";
	// 根路径
	public static final String ROOT_ACCOUNT = "/account/";
	public static final String ROOT_SYSTEMBASE = "/systemBase/";
	// 资源路径
	public static final String SYSTEM_BASE_ROLE = ROOT_ACCOUNT + MODEL_ROLE;
	public static final String SYSTEM_BASE_USER = ROOT_ACCOUNT + MODEL_USER;
	public static final String SYSTEM_BASE_DEPARTMENT = ROOT_SYSTEMBASE + MODEL_DEPARTMENT;
	public static final String SYSTEM_BASE_OFFICE = ROOT_SYSTEMBASE + MODEL_OFFICE;
	public static final String SYSTEM_BASE_JOBPOSITION = ROOT_SYSTEMBASE + MODEL_JOBPOSITION;

	private static final String R_VIEW = ":view";
	private static final String R_EDIT = ":edit";
	// 访问权限
	public static final String R_ROLE_VIEW = MODEL_ROLE + R_VIEW;
	public static final String R_ROLE_EDIT = MODEL_ROLE + R_EDIT;
	public static final String R_USER_VIEW = MODEL_USER + R_VIEW;
	public static final String R_USER_EDIT = MODEL_USER + R_EDIT;
	public static final String R_DEPARTMENT_VIEW = MODEL_DEPARTMENT + R_VIEW;
	public static final String R_DEPARTMENT_EDIT = MODEL_DEPARTMENT + R_EDIT;
	public static final String R_OFFICE_VIEW = MODEL_OFFICE + R_VIEW;
	public static final String R_OFFICE_EDIT = MODEL_OFFICE + R_EDIT;
	public static final String R_JOBPOSITION_VIEW = MODEL_JOBPOSITION + R_VIEW;
	public static final String R_JOBPOSITION_EDIT = MODEL_JOBPOSITION + R_EDIT;
}
